$height: var(--height_tabBar); // 高度
$imageSize: calc(var(--height_tabBar) / 3);
$fontSize: 24rpx;
$color: var(--font_color_s);
$color_selected: var(--color_adorn1);
$boxShadow: var(--boxShadow1);

.tabBarCon{
  height: 100%;
  width: 100%;
  padding-bottom: $height;
}

.tabBar{
  height: $height;
  width: 100%;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-around;
  box-shadow: $boxShadow;
  font-size: $fontSize;
  position: fixed;
  bottom: 0; left: 0;
  // box-sizing: content-box;
  padding: .6em 0 1.2em;
}
.tabBar-item{
  height: 100%;
  width: 18%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  .tabBar-image{
    height: $imageSize;
    width: $imageSize;
  }
  .tabBar-text{
    color: $color;
    line-height: 1em;
  }
  .tabBar-dot{
    height: 1.2em;
    min-width: 1.2em;
    background-color: #ff0000;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1.2em;
    padding: 0 .2em;
    font-size: $fontSize;
    color: #fff;
    position: absolute;
    top: 0;
    left: 70%;
    z-index: 1;
  }
}
.tabBar-item.selected{
  .tabBar-text{
    color: $color_selected;
    font-weight: bold;
  }
}